﻿using RewriteWeatherApp.CallBoard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RewriteWeatherApp
{
    class Program
    {
        static void Main(string[] args)
        {
            WeatherData weather = new WeatherData();
            CurrentCondtionDisplay currentCondtion = new CurrentCondtionDisplay(weather);
            StatistiesDisplay statisties = new StatistiesDisplay(weather);
            weather.SetMeasurements(10, 20, 30);

            OfficialAccounts officialAccounts = new OfficialAccounts();
            AccountDisplay accountDisplay = new AccountDisplay(officialAccounts);
            officialAccounts.SetMeasurements("张三", DateTime.Now);

            Console.Read();
        }
    }
}
